package com.sl.au.service;

import java.util.Date;
import java.util.List;

import com.sl.au.entity.User;
import com.sl.au.entity.ViewForVisitorReward;
import com.sl.au.entity.VisitorReward;
import com.sl.au.entity.VisitorRewardProcessing;
import com.sl.au.repository.ViewForVisitorRewardRepository;
import com.sl.au.repository.VisitorRewardProcessingRepository;
import com.sl.au.repository.VisitorRewardRepository;

public interface VisitorRewardProcessingService extends BaseService {

	VisitorRewardProcessingRepository getRepository();
	
	ViewForVisitorRewardRepository getViewForVisitorRewardRepository();
	
	List<ViewForVisitorReward> getUserPage(int start, int length, String key, String role, String orderName, String dir);
	
	int getUserPageCount(String key, String role);
	
	List<VisitorRewardProcessing> getProcessingPage(int start, int length, String key, String userId, String orderName, String dir);
	
	int getProcessingPageCount(String key, String userId);

}
